package com.feihong.txgw.model.bean.kaika;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * @name txgw_app
 * @class name：com.feihong.txgw.model
 * @class describe:
 * @author wangziheng
 * @time 2017/9/22 15:58
 * @change
 * @chang time
 * @class describe
 */
public class KaikaNewPackageEntity implements Parcelable {
    private String spec_id;
    private String effect;
    private String spec_name;
    private String type;
    private String numberId;
    private String number;

    public KaikaNewPackageEntity() {
    }

    public KaikaNewPackageEntity(String spec_id, String effect, String spec_name) {
        this.spec_id = spec_id;
        this.effect = effect;
        this.spec_name = spec_name;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getNumberId() {
        return numberId;
    }

    public void setNumberId(String numberId) {
        this.numberId = numberId;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getSpec_id() {
        return spec_id;
    }

    public void setSpec_id(String spec_id) {
        this.spec_id = spec_id;
    }

    public String getEffect() {
        return effect;
    }

    public void setEffect(String effect) {
        this.effect = effect;
    }

    public String getSpec_name() {
        return spec_name;
    }

    public void setSpec_name(String spec_name) {
        this.spec_name = spec_name;
    }

    public static Creator<KaikaNewPackageEntity> getCREATOR() {
        return CREATOR;
    }

    protected KaikaNewPackageEntity(Parcel in) {
        spec_id = in.readString();
        effect = in.readString();
        spec_name = in.readString();
        type = in.readString();
        numberId = in.readString();
        number = in.readString();
    }

    public static final Creator<KaikaNewPackageEntity> CREATOR = new Creator<KaikaNewPackageEntity>() {
        @Override
        public KaikaNewPackageEntity createFromParcel(Parcel in) {
            return new KaikaNewPackageEntity(in);
        }

        @Override
        public KaikaNewPackageEntity[] newArray(int size) {
            return new KaikaNewPackageEntity[size];
        }
    };

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeString(spec_id);
        parcel.writeString(effect);
        parcel.writeString(spec_name);
        parcel.writeString(type);
        parcel.writeString(numberId);
        parcel.writeString(number);
    }

    @Override
    public String toString() {
        return "KaikaNewPackageEntity{" +
                "spec_id='" + spec_id + '\'' +
                ", effect='" + effect + '\'' +
                ", spec_name='" + spec_name + '\'' +
                ", type='" + type + '\'' +
                ", numberId='" + numberId + '\'' +
                ", number='" + number + '\'' +
                '}';
    }
}
